import Vue from 'vue'
import VueRouter from 'vue-router'
import Dept from '../views/Dept'
import Emp from '../views/Emp'


Vue.use(VueRouter)

const routes = [
  {component: Dept,path:"/Dept"},
  {component: Emp,path:"/Emp"},
]

const router = new VueRouter({
  routes
})

export default router
